From: Andrea Azzarone Date: Fri, 22 Feb 2019 13:36:27 +0000 (+0100) Subject: st-clipboard: Remove get/set_property functions. X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~888^2^2~97 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ff1ea4b1c94a7055b2b5189792308079ca17aec9;p=gnome-shell.git st-clipboard: Remove get/set_property functions. Remove st_clipboard_get_property and st_clipboard_set_property because they are identical to the default implementation. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/414 --- diff --git a/src/st/st-clipboard.c b/src/st/st-clipboard.c index d5b1395e4..2c86f9a22 100644 --- a/src/st/st-clipboard.c +++ b/src/st/st-clipboard.c @@ -58,32 +58,6 @@ static Atom __atom_clip = None; static Atom __utf8_string = None; static Atom __atom_targets = None; -static void -st_clipboard_get_property (GObject *object, - guint property_id, - GValue *value, - GParamSpec *pspec) -{ - switch (property_id) - { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - } -} - -static void -st_clipboard_set_property (GObject *object, - guint property_id, - const GValue *value, - GParamSpec *pspec) -{ - switch (property_id) - { - default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); - } -} - static void st_clipboard_dispose (GObject *object) { @@ -180,8 +154,6 @@ st_clipboard_class_init (StClipboardClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); - object_class->get_property = st_clipboard_get_property; - object_class->set_property = st_clipboard_set_property; object_class->dispose = st_clipboard_dispose; object_class->finalize = st_clipboard_finalize; }